export default {
  APP_ID: '',
  // host:'http://ccwx.jltobacco.com.cn:4000/carorder',
  // host:'http://10.33.182.81:9009',
  host:'https://ccyy.jltobacco.com.cn/jinyeorder',
  // host:'https://ccyy.jltobacco.com.cn/carorder',
  header() {
		return {
			// 'access-token': uni.getStorageSync('token'),
			// 'Authorization': 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjhhNDJhZDJlLTMwZjYtNDA4Ny05ZDA5LTM0NzUwYWE2NGU1NCJ9.7ATqSLFCXUgu1k95zh9wDy0UrUZuNV7MJK8nx4rVJvp2hp3O8FlR_en4GTFCTPk2nRwGpOkNY8PZxOnm1YFcWg',
			'Authorization': 'Bearer '+uni.getStorageSync('token'),
		}
	},
	verifyToken(){
		if(!uni.getStorageSync('token')){
		  uni.navigateTo({
			url:'/pages/index'
		  })
		  return
		}
	}
};
